
import yaml

def readConfig(configFileName,key):
    with open("config/"+configFileName+".yaml","r") as fp:
        return yaml.load(fp, Loader=yaml.FullLoader)[key]


# domain=readConfig("webSiteConfig","domain")
# print(domain)